<template>
  <div id="app">
    <!-- <index-view></index-view> -->
    <router-view />
  </div>
</template>

<script>
// import indexView from "@/views/indexView";
export default {
//import引入的组件需要注入到对象中才能使用

components: {
  // indexView
},
data() {
//这里存放数据
return {

};
},
}
</script>
<style lang="less">
#app {
  width:100%;
  max-width: 7.5rem;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0 auto;
  height: 100%;
  // background-color: #f3f6f9;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
